package com.attms.service;

import com.attms.domain.Absent;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Team
 * @since 2022-12-18
 */
public interface IAbsentService extends IService<Absent> {
//    请假
    Boolean createAbsence(Absent absent);
//    删除假期
    Boolean deleteAbsence(Integer A_ID);
//    修改请假申请
    Boolean updateAbsence(Absent absent);
//    按照员工id查询请假
    List<Absent> searchAbsenceByEID(Integer E_ID);
//    按照请假id查询请假
    List<Absent> searchAbsenceByAID(Integer A_ID);
}
